<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>上传图片文件</title>
</head>
<body>
	<form action="upload" method="post" enctype="multipart/form-data">
		选择图片:<input type="file" name="file" accept="image/*" /> <br> <input
			type="submit" value="上传">
	</form>
</body>
</html>